/**
 * Kwadrat.cpp
 *
 * Version: $Id: Kwadrat.cpp 81 2012-01-07 12:13:13Z s8376@pjwstk.edu.pl $
 */
#include <iostream>
#include "Kwadrat.h"

using namespace std;

void Kwadrat::show()
{
    cout << "x: " << m_x << ", y: " << m_y << ", bok: " << m_width << endl;
}
double Kwadrat::getArea()
{
    return m_width * m_width;
}
